package com.theta.gateway.infra.routecfg.service;

import java.util.List;

import com.theta.gateway.infra.routecfg.model.dataobject.response.RouteInfoDO;

public interface GatewayRouteRepository {
	
	
	public void addRoute(RouteInfoDO dto,boolean refresh);
	
	public void addRoutes(List<RouteInfoDO> dtoList);
	
	
	public void updateRoute(RouteInfoDO dto);
	
	public void delete(String id,boolean refresh);
	public void deleteBatch(List<String> ids,boolean refresh);
	
	public List<RouteInfoDO> getAllRoute();
	

}
